package com.pj.wisdomlogistics.mvp.model;


import com.pj.wisdomlogistics.entity.VersionEntity;
import com.pj.wisdomlogistics.entity.response.BaseResponse;
import com.pj.wisdomlogistics.entity.response.LoginResponse;
import com.pj.wisdomlogistics.mvp.frame.MvpModel;

import rx.Observable;


public class SplashModel extends MvpModel {
    public Observable<LoginResponse> checkLogin(String accessToken) {
        return mApiService.checkLogin(accessToken);
    }

    public Observable<BaseResponse<VersionEntity>> checkVersion() {
        return mApiService.checkVersion();
    }

    public Observable<LoginResponse> login(String username, String password) {
        return mApiService.login(username, password);
    }

    public Observable<LoginResponse> login_jc(String username) {
        return mApiService.login_jc(username);
    }
}
